package d7_extends;

public class B extends A {
    private int k;
    public void print3(){
        //继承特点(专业;权威),子类只能继承父类私有的成员
        System.out.println(i);
        print1();
    }
}
